/*
 * Parents.cpp
 *
 *  Created on: Oct 22, 2013
 *      Author: filipe
 */

#include "Parents.h"

namespace EvolutionaryOptimization
{
	Parents::Parents()
	{
	}

	Parents::Parents(int first_parent, int second_parent)
	{
		_FirstParent = first_parent;
		_SecondParent = second_parent;
	}

	Parents::~Parents()
	{
	}

	pair<int, int>
	Parents::GetParents() const
	{
		return pair<int, int>(_FirstParent, _SecondParent);
	}


	void
	Parents::SetFirstParent(int first_parent)
	{
		_FirstParent = first_parent;
	}


	void
	Parents::SetSecondParent(int second_parent)
	{
		_SecondParent = second_parent;
	}
}
